package com.bestcem.xm.user.grpc.client.convert;

import com.bestcem.xm.user.grpc.client.dto.CacheWxMiniUserInfoDTO;
import com.bestcem.xm.wechat.grpc.v1.services.CacheWxMiniUserInfoRequest;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;

/**
 * 微信相关信息转换类
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/6/20 15:29
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface UserBpWechatGrpcConvert {

    CacheWxMiniUserInfoRequest wxMiniUserInfoToRequest(CacheWxMiniUserInfoDTO infoDTO);
}
